home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / internet / guestbk.zip / README.1ST < prev   
Text File  |  1996-02-11  |  2KB  |  53 lines

  1. This guestbook is released into the public domain by myself, the author.
  2.  
  3. Purpose: 
  4. This code provides a basic guest book for your web page. It creates a flat
  5. test file which logs the visitor's name, email address, www page, reference,
  6. and comments. A separate utility converts this text file to an html page
  7. which your visitors can view.
  8.  
  9. General:
  10. Examine the cmd and html files and edit any path statements you wish. You
  11. should also edit the reference selections in the form to fit your site. You
  12. should also remove all references to my WWW site and replace them with your
  13. own - this should be easy to locate in the text files. I have provided all
  14. the graphics images I used and you are certainly free to replace them with
  15. your own art.
  16.  
  17. How it works:
  18. The myguestbook.html file includes a form which the visitor fills in. This
  19. form uses a post method which calls the guestbook.cmd file which should be
  20. located in the cgi-bin directory. The guestbook.cmd saves the new entry
  21. in a file called comments.txt in a last-in top-down order (the newest entry
  22. is at the top of the list).
  23.  
  24. A cron process runs once each hour which calls getcomments.cmd which processes
  25. this comments.txt file. My reason for doing this was to provide an opportunity
  26. to preprocess the comments prior to making them available on the comments page.
  27. Why? There are people out there who like to screw up fun things with vulgarity,
  28. and there are other mischevious people who like to leave comments which will
  29. crash your page.
  30.  
  31. What's left?
  32. This original work has no means for serializing access to the comments.txt
  33. and comments.html files so in the unlikely case that two or more people access
  34. them at the same time there will be a locked file problem. I no longer have a
  35. WWW page so will not likely complete this work but it was fun enough and
  36. complete enough to put out there for others to carry on.
  37.  
  38. What does it cost?
  39. Nothing, but if you use it send me your URL so I can leave a comment!!
  40.  
  41. Parting comment:
  42. I suggest you consider leaving the following statement of appreciation on your
  43. version as a courtesy to the inspiration for this project.
  44.  
  45. This guestbook service is based on that provided by:
  46. <A HREF="http://lpage.com/"> Lpage.com</A>
  47.  
  48.  
  49. Dennis Peterson
  50. dpeterso@halcyon.com
  51. OS/2 Northwest BBS
  52. Bellevue, WA
  53.